package com.health;

import com.alibaba.dubbo.config.spring.context.annotation.DubboComponentScan;
import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Classname HealthServiceProvider
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/27 15:33
 * @Author RainGrd
 */
@SpringBootApplication
@EnableDubbo // 启动dubbo功能
@DubboComponentScan("com.health.service.impl") // 扫描提供者实现类
@MapperScan("com.health.dao")
public class HealthServiceProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(HealthServiceProviderApplication.class,args);
    }
}
